package heimaTest;

import java.util.Scanner;

public class Demo2 {
    public static void main(String[] args) {
     int[]arr = {10,20,30};
     System.out.println("调用方法前"+arr[1]);
     change(arr);
     System.out.println("调用方法后"+arr[1]);



    }
    public static void change(int []arr){
        arr[1] = 200;
    }



      }






